<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Create person</title>
</head>
<body>
	<form:form modelAttribute="person" method="POST">
	<table>
		<tr>
			<td><form:label path="name" /></td>
			<td><form:input path="name" /></td>
		</tr>
		<tr>
			<td><form:label path="age" /></td>
			<td><form:input path="age" /></td>
		</tr>
		<tr>
			<td><form:label path="address" /></td>
			<td><form:input path="address" /></td>
		</tr>
		<tr>
			<td><form:label path="salary" /></td>
			<td><form:input path="salary" /></td>
		</tr>
		<tr>
			<td colspan="2">
				<input type="submit" value="Create new user" />
			</td>
		</tr>
	</table>
	</form:form>
</body>
</html>